<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<c:if test="${(!empty tabContext) && (!empty tabContext.tabs)}">
	<div class="panel panel-default" style="padding:10px;">
	    <div class="btn-group">
	    <c:forEach items="${tabContext.tabs}" var="tab">
	    	<c:if test="${controllerContext.requestPath==tab.rawUrl}">
	    		<a class="btn btn-primary active">
	    			${tab.comment}
	    		</a>
	    	</c:if>
	    	<c:if test="${controllerContext.requestPath!=tab.rawUrl}">
	    		<a class="btn btn-primary" href="${RootUrl}${tab.url}">
	    			${tab.comment}
	    		</a>
	    	</c:if>
		</c:forEach>
	    </div>
	</div>
</c:if>